package com.wky.org.mapper;

import com.wky.basic.mapper.BaseMapper;
import com.wky.org.VO.ShopVO;
import com.wky.org.pojo.Employee;
import com.wky.org.pojo.Shop;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 根据名字查询
     * @param name
     * @return
     */
    Shop findByName(String name);

    /**
     * 图标数据
     * @return
     */
    List<ShopVO> chart();
}
